package com.atguigu.eduservice.service.client;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

/**
 * @author He Wentao
 * @since 2022/9/27 18:19
 */
@Component
public class UcenterDegradeFeignClient implements UcenterClient{

    @Override
    public R getInfoByToken(@PathVariable("token") String toKen) {
        return R.error().message("用户信息获取失败，请稍后重试");
    }
}
